<template>
  <div>
    <el-button @click="importTemplate" style="font-size: 15px; line-height:10px">Api文档下载</el-button>
  </div>
</template>

<script>
export default {
  name: 'RuoYiDoc',
  data() {
    return {
      url: '/common/downloadInputUserTemplate.do'
    }
  },
  methods: {
    goto() {
      window.open(this.url)
    },  /** 下载模板操作 */
    importTemplate() {
      this.download(this.url, {
      }, `ezcount.doc`)
    },
  }
}
</script>
